#ifndef AFOBJECTFACTORY_H
#define AFOBJECTFACTORY_H

#include "AFPhysics.h"
#include "AFGraphics.h"

struct GameObjectComponent_t
{   
  struct GameObjectComponent_t* next;
};
typedef struct GameObjectComponent_t GameObjectComponent;

struct Sprite_t
{   
  GameObjectComponent GameObjectProperties;
  GraphicsComponent   GraphicsProperties;
  PhysicsComponent    PhysicsProperties;
};
typedef struct Sprite_t Sprite;

Sprite* CreateSprite(int color, 
                     int screenX, int screenY, int worldX, int worldY, 
                     int h, int w);

#endif